<?php
    /**
    * Actions Map delete
    * @author: trungdt
    * @since: feb 1, 2011
    * @version: 1.0
    * 
    * Change logs
    * feb 1, 2011 - trungdt - first create
    * 
    */

    if (!defined('EXPONENT')) exit('');
    if (exponent_users_isLoggedIn() && exponent_users_isAdmin())
    {
        $action = null;
        if (isset($_REQUEST['id'])) {
            $action = $db->delete('action_maps', 'id='.intval($_REQUEST['id']));
            
        }
        exponent_flow_redirect();
    }
?>